Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable batchMode on scala.js Optimizer #953

Closed
wants to merge 1 commit into from

Conversation

ngbinh
Copy link
Contributor

@ngbinh ngbinh commented Mar 27, 2016

The batchMode should help reduce the memory requirement to compile
scala.js code as per
scala-js/scala-js#1788 (comment)

Implementation details: botBuild is a sbt setting that will be turned
on on travisCi so that it will not interfere with local dev experience.

@ngbinh
Copy link
Contributor Author

ngbinh commented Mar 27, 2016

related to #951

@@ -21,6 +21,7 @@ env:
global:
- secure: Kf44XQFpq2QGe3rn98Dsf5Uz3WXzPDralS54co7sqT5oQGs1mYLYZRYz+I75ZSo5ffZ86H7M+AI9YFofqGwAjBixBbqf1tGkUh3oZp2fN3QfqzazGV3HzC+o41zALG5FL+UBaURev9ChQ5fYeTtFB7YAzejHz4y5E97awk934Rg=
- secure: QbNAu0jCaKrwjJi7KZtYEBA/pYbTJ91Y1x/eLAJpsamswVOvwnThA/TLYuux+oiZQCiDUpBzP3oxksIrEEUAhl0lMtqRFY3MrcUr+si9NIjX8hmoFwkvZ5o1b7pmLF6Vz3rQeP/EWMLcljLzEwsrRXeK0Ei2E4vFpsg8yz1YXJg=
- botBuild=true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it matter that this is using = instead of :?

Edit: never mind I see what's going on here. 👍

The `batchMode` should help reduce the memory requirement to compile
scala.js code as per
scala-js/scala-js#1788 (comment)

Implementation details: `botBuild` is a sbt setting that will be turned
on on travisCi so that it will not interfere with local dev experience.
@ngbinh
Copy link
Contributor Author

ngbinh commented Mar 27, 2016

updated and squashed

@adelbertc
Copy link
Contributor

Should/does this change need to be in conjunction with the switch away from Rhino? Seems the builds still take a long time, upwards of an hour.

@ngbinh
Copy link
Contributor Author

ngbinh commented Mar 28, 2016

ok, I will merge this PR into #954

@ngbinh ngbinh closed this Mar 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants